﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace YW.Web.YWXT.YW_xfjlzb
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					Guid ywid=new Guid(strid);
					ShowInfo(ywid);
				}
			}
		}
		
	private void ShowInfo(Guid ywid)
	{
		YW.BLL.YWXT.YW_xfjlzb bll=new YW.BLL.YWXT.YW_xfjlzb();
		YW.Model.YWXT.YW_xfjlzb model=bll.GetModel(ywid);
		this.lblywid.Text=model.ywid.ToString();
		this.lblzbid.Text=model.zbid.ToString();
		this.lblxfdh.Text=model.xfdh;
		this.lblxflx.Text=model.xflx;
		this.lblEMPI.Text=model.EMPI;
		this.lblksid.Text=model.ksid;
		this.lblysid.Text=model.ysid;
		this.lblyzid.Text=model.yzid;
		this.lblxfsj.Text=model.xfsj.ToString();
		this.lblkh.Text=model.kh;
		this.lbladdtime.Text=model.addtime.ToString();

	}


    }
}
